Fix annotation for gtk_show_uri_full()
authorEmmanuele Bassi <ebassi@gnome.org>
Thu, 16 Apr 2020 18:06:04 +0000 (19:06 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Thu, 16 Apr 2020 18:40:00 +0000 (19:40 +0100)
The callback is now an asynchronous closure.

gtk/gtkshow.c

index 2163b120a1a2d09be737ccfd604fe6da6e87fe19..066e9ccb550a9404c07e6cac3ee8f7347858ff7d 100644 (file)
@@ -81,13 +81,12 @@ window_handle_exported (GtkWindow  *window,
 
 /**
  * gtk_show_uri_full:
- * @parent: (allow-none): parent window
+ * @parent: (nullable): parent window
  * @uri: the uri to show
  * @timestamp: timestamp from the event that triggered this call, or %GDK_CURRENT_TIME
- * @cancellable: (allow-none): a #GCancellable to cancel the launch
- * @callback (allow-none): a callback to call when the action is complete
- * @user_data: data to pass to @callback
- * @destroy: destroy notify for @user_data
+ * @cancellable: (nullable): a #GCancellable to cancel the launch
+ * @callback (scope async): a callback to call when the action is complete
+ * @user_data: (closure callback): data to pass to @callback
  *
  * This function launches the default application for showing
  * a given uri.